package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name     string `gorm:"type:varchar(30)" json:"name"`
	Password string `gorm:"type:varchar(225)" json:"password"`
	Content  string `gorm:"type:varchar(30)" json:"content"`
}
type Role struct {
	gorm.Model
	Name    string `gorm:"type:varchar(30)" json:"name"`
	Content string `gorm:"type:varchar(30)" json:"content"`
	Author  string `gorm:"type:varchar(30)" json:"author"`
}
